﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using MongoDB.Bson;

namespace DataMongo.Entities
{
    public class SourceDetail
    {
        public ObjectId _id { get; set; }
        public int SourceDetailId { get; set; }
        public string Title { get; set; }
        public int SourceId { get; set; }
        public int CategoryId { get; set; }
        public string FeedURL { get; set; }
        public int AttemptCount { get; set; }
        public bool IsActive { get; set; }

        [NotMapped]
        public List<SelectListItem> CategoryList { get; set; }

        [NotMapped]
        public List<SelectListItem> SourceList { get; set; }

    }
}